package com.bao.mapper;

import com.bao.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: bao
 * Date: 2020/05/23 17:26
 * Description:
 * Version: V1.0
 */
@Component
public interface UserMapper {
    List<User> selectAllUser();
    int insertUser(User user);

    User selectUser(@Param("no") int user_no, @Param("name")String user_name);//查询固定的User
}
